//
//  TimeUpTitlesItemCell.m
//  TerritoryShopkeeper
//
//  Created by xiaowu on 2017/12/7.
//  Copyright © 2017年 ZDQK. All rights reserved.
//

#import "TimeUpTitlesItemCell.h"

@implementation TimeUpTitlesItemCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    
    self.timeLabel.font = TextPingFangMediumFontSize(20);
    self.titleLabel.font = TextPingFangFontSize(12);
    
}

- (void)setCurrentType:(TimerUpTitlesItemCellType)currentType {
    
    _currentType = currentType;
    if (currentType == TimerUpTitlesItemCellTypeForSelected) {
        self.timeLabel.textColor = [UIColor whiteColor];
        self.titleLabel.textColor = [UIColor whiteColor];
        self.backgroundColor = [UIColor redF2color];
    } else {
        self.timeLabel.textColor = [UIColor blackTextColor];
        self.titleLabel.textColor = [UIColor blackTextColor];
        self.backgroundColor = [UIColor whiteColor];
    };
}

@end
